package com.online_video.entity;

/**
 * @author zhenghouwen
 * @create 2022-03-18 15:50
 */
public class CollectBook {
    private Integer c_book_id;//收藏夹ID
    private Integer u_id;//用户ID
    private String  c_book_name;//收藏夹名
    private String viName;
    private String nickname;
    private String category;
    private String img;
    private String c_date;//收藏时间
    private Integer vid;
    private Integer collectid;

    public Integer getCollectid() {
        return collectid;
    }

    public void setCollectid(Integer collectid) {
        this.collectid = collectid;
    }

    public CollectBook(Integer c_book_id, Integer u_id, String c_book_name, String viName, String nickname, String category, String img, String c_date, Integer vid, Integer collectid) {
        this.c_book_id = c_book_id;
        this.u_id = u_id;
        this.c_book_name = c_book_name;
        this.viName = viName;
        this.nickname = nickname;
        this.category = category;
        this.img = img;
        this.c_date = c_date;
        this.vid = vid;
        this.collectid = collectid;
    }

    public CollectBook(Integer c_book_id, Integer u_id, String c_book_name, String viName, String nickname, String category, String img, String c_date, Integer vid) {
        this.c_book_id = c_book_id;
        this.u_id = u_id;
        this.c_book_name = c_book_name;
        this.viName = viName;
        this.nickname = nickname;
        this.category = category;
        this.img = img;
        this.c_date = c_date;
        this.vid = vid;
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public CollectBook(Integer c_book_id, Integer u_id, String c_book_name, String viName, String nickname, String category, String img, String c_date) {
        this.c_book_id = c_book_id;
        this.u_id = u_id;
        this.c_book_name = c_book_name;
        this.viName = viName;
        this.nickname = nickname;
        this.category = category;
        this.img = img;
        this.c_date = c_date;
    }

    public CollectBook(Integer c_book_id, Integer u_id, String c_book_name, String viName, String nickname, String category, String img) {
        this.c_book_id = c_book_id;
        this.u_id = u_id;
        this.c_book_name = c_book_name;
        this.viName = viName;
        this.nickname = nickname;
        this.category = category;
        this.img = img;
    }

    public CollectBook(Integer c_book_id, Integer u_id, String c_book_name, String viName, String nickname, String category) {
        this.c_book_id = c_book_id;
        this.u_id = u_id;
        this.c_book_name = c_book_name;
        this.viName = viName;
        this.nickname = nickname;
        this.category = category;
    }

    public String getC_date() {
        return c_date;
    }

    public void setC_date(String c_date) {
        this.c_date = c_date;
    }

    public String getViName() {
        return viName;
    }

    public void setViName(String viName) {
        this.viName = viName;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public CollectBook() {
    }

    public CollectBook(Integer c_book_id, Integer u_id, String c_book_name) {
        this.c_book_id = c_book_id;
        this.u_id = u_id;
        this.c_book_name = c_book_name;
    }

    public Integer getC_book_id() {
        return c_book_id;
    }

    public void setC_book_id(Integer c_book_id) {
        this.c_book_id = c_book_id;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getC_book_name() {
        return c_book_name;
    }

    public void setC_book_name(String c_book_name) {
        this.c_book_name = c_book_name;
    }

    @Override
    public String toString() {
        return "CollectBook{" +
                "c_book_id=" + c_book_id +
                ", u_id=" + u_id +
                ", c_book_name='" + c_book_name + '\'' +
                ", viName='" + viName + '\'' +
                ", nickname='" + nickname + '\'' +
                ", category='" + category + '\'' +
                ", img='" + img + '\'' +
                ", c_date='" + c_date + '\'' +
                ", vid=" + vid +
                ", collectid=" + collectid +
                '}';
    }
}
